<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich" template="layout/template.xhtml">

	<ui:define name="body">
    <h:form id="bayiAdresForm">
		<rich:panel styleClass="richPanelYukseklik" >
			<f:facet name="header">Özgeçmiş Bilgileri</f:facet>
			<h:outputText value="Hesap Bilgileri" styleClass="txtBaslik" />
 
  <s:decorate id="seyahatDurumField" template="layout/display.xhtml">
    <ui:define name="label">Hesap Numaram </ui:define>
    <h:selectOneRadio value="#{kullaniciHome.instance.hesapVarYok}">
        <f:selectItem id="item1" itemLabel="Var" itemValue="false" />
        <f:selectItem id="item2" itemLabel="Yok" itemValue="true" />
    </h:selectOneRadio>  
    </s:decorate>
 
     <s:decorate id="bankaField" template="layout/edit.xhtml">
                <ui:define name="label">Banka</ui:define>
                <h:selectOneMenu value="#{kullaniciHome.instance.banka}" id="bankaID"
                    styleClass="comboWidth">
                    <s:selectItems var="_banka" value="#{bankaTanimlariList.bankaTanimlariList}"
                        label="#{_banka.bankaAdi}" noSelectionLabel="">
                    </s:selectItems>
                    <s:convertEntity />
                    <a:support event="onchange" eventsQueue="q1" reRender="subeID"
                        actionListener="#{kullaniciHome.bankaListenerListener}"
                        bypassUpdates="true" ajaxSingle="true" requestDelay="100"></a:support>
                </h:selectOneMenu>
            </s:decorate>

            <s:decorate id="bankaSubeField" template="layout/edit.xhtml">
                <ui:define name="label">Şube</ui:define>
                <h:selectOneMenu value="#{kullaniciHome.instance.bankaSube}" id="IlceID"
                    styleClass="comboWidth">
                    <s:selectItems var="_sube" value="#{kullaniciHome.bankaSubeleriList}"
                        label="#{_sube.subeAdi}" noSelectionLabel="">
                    </s:selectItems>
                    <s:convertEntity />
                     
                </h:selectOneMenu>
            </s:decorate>
            
      <s:decorate id="hesapNoField" template="layout/edit.xhtml">
                <ui:define name="label">Hesap No</ui:define>
                <h:inputText id="hesapNo"  size="20"
                            maxlength="20" value="#{kullaniciHome.instance.hesapNo}"
                            styleClass="adGenislik"  >
                            <a:support event="onblur" reRender="hesapNoField"
                                bypassUpdates="true" ajaxSingle="true" />
                        </h:inputText>
     </s:decorate>
       <s:decorate id="hesapAdiField" template="layout/edit.xhtml">
                <ui:define name="label">Hesap Adi</ui:define>
                <h:inputText id="hesapNo"   size="50"
                            maxlength="50" value="#{kullaniciHome.instance.hesapSahibiAdi}"
                            styleClass="adGenislik"  >
                            <a:support event="onblur" reRender="hesapAdiField"
                                bypassUpdates="true" ajaxSingle="true" />
                        </h:inputText>
     </s:decorate>
                              
			<div style="clear: both"><span class="required" >*</span>
			Zorunlu Alanlar</div>
		</rich:panel>

		<div class="actionButtons"><h:commandButton id="save"
			value="#{messages.btnKaydetVeDevam}"
			 action="#{kullaniciHome.doIK05}" /></div>
		</h:form>


	</ui:define>
</ui:composition>
